package com.cqndt.visual.sevcie.impl;

import com.cqndt.visual.dao.entity.TabUser;
import com.cqndt.visual.dao.mapper.TabUserMapper;
import com.cqndt.visual.sevcie.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created By marc
 * Date: 2021/5/17  16:02
 * Description:
 */
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    TabUserMapper tabUserMapper;

    @Override
    public TabUser test(Integer id) {
        TabUser user = tabUserMapper.selectByPrimaryKey(id);
        return user;
    }
}
